const path=require('path');

module.exports={
    mode:'development',
    entry:'./src/index.js',  //入口文件
    output:{
        filename:'devsb.js',  //名字可以随便取
        path:path.resolve(__dirname,'test'),
    },
    module:{
        rules:[
            {
                test:/\.css$/i,
                use:[
                    'style-loader',
                    'css-loader'
                ]
            }
        ]
    }
}